package com.sunlake.spring.main.model.auth.service;
import com.sunlake.spring.main.common.response.R;
import com.sunlake.spring.main.model.auth.dto.*;
import org.springframework.web.bind.annotation.RequestBody;

public interface AuthService {
     R<String> login(LoginDTO loginDTO);
     R<String> VerificationCode(@RequestBody VerificationDTO verificationDTO);
     R<String> validateVerificationCode(@RequestBody VerifyDTO verifDTO);
     R<String> register(@RequestBody RegisterDTO registerDTO);
     R<String> fetchUserInfo(@RequestBody FetchDTO fetchDTO);
     R<String> updateUserInfo(@RequestBody UpdateDTO updateDTO);
     R<String> resetPassword(@RequestBody ResetPasswordDTO resetPasswordDTO);
}
